<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

	<h:head>
		<title>Guestbook</title>
		<h:outputStylesheet library="css" name="style.css" />
	</h:head>

	<h:body>
		<f:view locale="#{languageBean.currentLocale}">
			<h:form>
				<h:outputText value="#{msg.message}" styleClass="h1" />
				<br />
				<h:panelGrid columns="2">
					<h:commandLink action="#{languageBean.changeLocale('de_DE')}">
						<h:graphicImage library="img" name="german.jpg" />
					</h:commandLink>
					<h:commandLink action="#{languageBean.changeLocale('en')}">
						<h:graphicImage library="img" name="english.jpg" />
					</h:commandLink>
				</h:panelGrid>
				<h:link outcome="guestbook/guestbookLogin" value="#{msg.link}"/>
			</h:form>
		</f:view>
	</h:body>

</html>
